package PlaneGame.CODE;

import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import static PlaneGame.CODE.GameFrame.*;
public class BombAmmo extends Supply{
    @Override
    void buff() {
        mrW.OhGan();
    }

    public BombAmmo() {
        super();
        this.width=25;
        this.height=25;
        this.imageNumber=1;
        this.paths= new String[]{"src/PlaneGame/IMAGE/bomb_supply.png"};
        images=new BufferedImage[imageNumber];
        for (int i = 0; i < images.length; i++) {
            try {
                images[i] = ImageIO.read(new File(paths[i]));
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    }
}
